package com.app.view.component.room.exps 
{
	import flash.display.MovieClip;
	
	import com.greensock.TweenLite;
	import com.greensock.plugins.TweenPlugin;
	import com.greensock.plugins.FrameLabelPlugin;
	
	import com.peachcastle.core.Display;
	
	/**
	 * ...
	 * @author kevin
	 */
	public class UpgradeLevel extends Display
	{
		public function UpgradeLevel(ui:MovieClip = null) 
		{
			super(ui, true);
		}
		
		override protected function initialization():void
		{
			super.initialization();
			
			TweenPlugin.activate([FrameLabelPlugin]);
		}
		
		public function show():void
		{
			super.showAssest();
			
			TweenLite.to(assest, 3, { frameLabel: "level_end", onComplete: super.hideAssest } );
		}
	}

}